//
//  RootViewController.m
//  Travelmemory
//
//  Created by lanou3g on 16/3/24.
//  Copyright © 2016年 ABCD. All rights reserved.
//

#import "RootViewController.h"
#import "RecommendTableViewController.h"
#import "CityHunterTableViewController.h"
#import "UserViewController.h"
@interface RootViewController ()

@end

@implementation RootViewController

//- (void)viewWillAppear:(BOOL)animated{
//    
//    self.tabBarController.tabBar.hidden = NO;
//}

- (void)viewDidLoad {
    [super viewDidLoad];
   
//    RecommendTableViewController *recommendVC = [[RecommendTableViewController alloc] init];
//    UINavigationController *recommengNC = [[UINavigationController alloc] initWithRootViewController:recommendVC];
//    recommengNC.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"推荐" image:[UIImage imageNamed:@"tripview_bookmark2@2x"] tag:101];
//    
//    CityHunterTableViewController *CityHunterVC = [[CityHunterTableViewController alloc] init];
//    UINavigationController *CityHunterNC = [[UINavigationController alloc] initWithRootViewController:CityHunterVC];
//    CityHunterNC.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"城市猎人" image:[UIImage imageNamed:@"cityHunter"] tag:101];
    
    
//    UserViewController *UserVC = [[UserViewController alloc] init];
//    UINavigationController *UserNC = [[UINavigationController alloc] initWithRootViewController:UserVC];
//    UserNC.tabBarItem = [[UITabBarItem alloc] initWithTitle:@"我" image:[UIImage imageNamed:@"mine"] tag:101];
    
//     self.viewControllers = @[recommengNC,CityHunterNC,UserNC];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
